<template>
  <!-- <HeaderApp btnName="点击事件11" @handleClick="handleClick"></HeaderApp> -->
  <MyButton :btnStyle="btnStyle" @handleClick="handleClick" btnName="按钮页面"/>
  
</template>

<script>
import { defineComponent, ref } from "vue";

export default defineComponent({

  setup(props, context) {
    const btnStyle = {
      color: "#E40A0A"
    };
    const handleClick = () => {
      console.log("页面点击事件")
    }
    return {
      handleClick,
      btnStyle
    }
  }

})
// import HelloWorld from './components/HelloWorld.vue'
</script>
